/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package suministros.ejb30.DAO;

import javax.ejb.Local;
import javax.mail.MessagingException;
import javax.naming.NamingException;

/**
 *
 * @author Renato
 */
@Local
public interface SumiEMailLocal {
    public void enviarEmail(String email, String subject, String body) throws NamingException, MessagingException ;

    public void enviarEmailComplejo(java.lang.String email, java.lang.String subject, java.lang.String body, java.lang.String file_name, javax.activation.DataHandler archivo) throws javax.naming.NamingException, javax.mail.MessagingException;

  
}
